package com.ziq.zcamp.bean.user

import com.ziq.zcamp.proguard.ProguardKeep
import java.io.Serializable

class UserCampInfo : ProguardKeep, Serializable {
    var campid:Int? = null	//int	营地id
    var camp_name:String? = null	//营地名称
    var staff_type:Int? = null//员工类型,1表示超级管理员，2表示普通员工,0无身份 , 3营长
    var authorities: List<Int>? = null //员工权限，1-订单管理，2-商品管理，3-客服，4-活动管理

    override fun equals(other: Any?): Boolean {
        if(other is UserCampInfo){
            return other.campid == this.campid
        }
        return super.equals(other)
    }

    override fun hashCode(): Int {
        var result = campid.hashCode()
        return result
    }
}